package com.ycyun.admin.dto;

import java.io.Serializable;

/**
 * @Author: 哦谢特谢特
 * @Date: 2018/5/21 19:39
 * @Description: RESTful token方式登录
 */
public class Token implements Serializable {

    private static final long serialVersionUID = 6314027741784310221L;

    private String token;
    //登录时间戳
    private Long loginTime;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Long loginTime) {
        this.loginTime = loginTime;
    }

    public Token(String token, Long loginTime) {
        super();
        this.token = token;
        this.loginTime = loginTime;
    }



}
